/**
 * 神州信息(2013)
 */
/**
 * 神州信息(2013)
 */
package net.nextvisual.report.start;

import java.awt.print.PageFormat;

import net.abbp.core.util.NumberUtils;

import com.reportgear.report.print.PaperSize;

/**
 * 输出参数
 * 
 * @version 1.0
 * @author <a herf="lexloo@gmail.com">lexloo</a>
 * @since 销售宝 2.0
 * 
 *        <pre>
 * 历史：
 *      建立: 2013-8-11 lexloo
 * </pre>
 */
public class Parameter {
    /**
     * 成本中心类型
     */
    public static final int TYPE_CC = 0;
    /**
     * 组织机构类型
     */
    public static final int TYPE_ORG = 1;
    /**
     * 分页打印
     */
    private boolean typePaging;
    /**
     * 打印类型
     */
    private int type = TYPE_CC;
    /**
     * 打印方向
     */
    private int orientation = PageFormat.LANDSCAPE;
    /**
     * 纸张大小
     */
    private PaperSize pageSize;

    /**
     * @return the type
     */
    public int getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(int type) {
        this.type = type;
    }

    /**
     * @return the orientation
     */
    public int getOrientation() {
        return orientation;
    }

    /**
     * @param orientation the orientation to set
     */
    public void setOrientation(int orientation) {
        this.orientation = orientation;
    }

    /**
     * @return the pageSize
     */
    public PaperSize getPageSize() {
        return pageSize;
    }

    /**
     * @param pageSize the pageSize to set
     */
    public void setPageSize(PaperSize pageSize) {
        this.pageSize = pageSize;
    }

    /**
     * @return the typePaging
     */
    public boolean isTypePaging() {
        return typePaging;
    }

    /**
     * @param typePaging the typePaging to set
     */
    public void setTypePaging(boolean typePaging) {
        this.typePaging = typePaging;
    }
}
